package com.dharma.mydiet.storage;

public class TransactionalFood {
	private int idFood;
	private String name;
	private int calories;
	private float porcentualCarbohidraths;
	private float porcentualLipids;
	private float porcentualProteins;
	private int shugar;
	private float colesterol;
	
	@Override
	public String toString() {
		return "TransactionalFood [name=" + name + ", calories=" + calories
				+ ", porcentualCarbohidraths=" + porcentualCarbohidraths
				+ ", porcentualLipids=" + porcentualLipids
				+ ", porcentualProteins=" + porcentualProteins + ", shugar="
				+ shugar + ", colesterol=" + colesterol + "]";
	}	
	
	public TransactionalFood(int idFood, String name, int calories,
			float porcentualCarbohidraths, float porcentualLipids,
			float porcentualProteins, int shugar, float colesterol) {
		super();
		this.idFood = idFood;
		this.name = name;
		this.calories = calories;
		this.porcentualCarbohidraths = porcentualCarbohidraths;
		this.porcentualLipids = porcentualLipids;
		this.porcentualProteins = porcentualProteins;
		this.shugar = shugar;
		this.colesterol = colesterol;
	}

	public int getIdFood() {
		return idFood;
	}

	public void setIdFood(int idFood) {
		this.idFood = idFood;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCalories() {
		return calories;
	}
	public void setCalories(int calories) {
		this.calories = calories;
	}
	public float getPorcentualCarbohidraths() {
		return porcentualCarbohidraths;
	}
	public void setPorcentualCarbohidraths(float porcentualCarbohidraths) {
		this.porcentualCarbohidraths = porcentualCarbohidraths;
	}
	public float getPorcentualLipids() {
		return porcentualLipids;
	}
	public void setPorcentualLipids(float porcentualLipids) {
		this.porcentualLipids = porcentualLipids;
	}
	public float getPorcentualProteins() {
		return porcentualProteins;
	}
	public void setPorcentualProteins(float porcentualProteins) {
		this.porcentualProteins = porcentualProteins;
	}
	public int getShugar() {
		return shugar;
	}
	public void setShugar(int shugar) {
		this.shugar = shugar;
	}
	public float getColesterol() {
		return colesterol;
	}
	public void setColesterol(float colesterol) {
		this.colesterol = colesterol;
	}
}
